home *** CD-ROM | disk | FTP | other *** search
- on MouseClick
- global gLabel, gLecLabel, gLocLabel, gTrLabel, gChLabel, gThLabel, gPhLabel, gQzLabel, gChapAct, gEtudAct
- curseur(6)
- if gChapAct = "DE" then
- if gEtudAct = "lec" then
- set gLecLabel to "DE:lec:fin"
- else
- set gLocLabel to "DE:OU" && gEtudAct
- end if
- else
- if gChapAct = "SU" then
- set gLocLabel to "SU:OU" && gEtudAct
- else
- if gChapAct = "TR" then
- set gTrLabel to "TR:OU"
- else
- if gChapAct = "TH" then
- set gThLabel to "TH:OU"
- set gLocLabel to "TH:RN2"
- else
- if gChapAct = "CH" then
- set gChLabel to "CH:OU"
- else
- if gChapAct = "PH" then
- set gPhLabel to "PH:OU"
- else
- if gChapAct = "QZ" then
- set gQzLabel to "QZ:OU"
- else
- if gChapAct = "CI" then
- set gLocLabel to "CI:OU"
- else
- if gChapAct = "BI" then
- set gLocLabel to "BI:OU" && gEtudAct
- else
- if gChapAct = "MI" then
- set gLocLabel to "MI:OU" && gEtudAct
- else
- nothing()
- end if
- end if
- end if
- end if
- end if
- end if
- nothing()
- end if
- end if
- end if
- end if
- set gLabel to "AC:IN"
- continue()
- end
-
- on mouseDown
- global gNumSpr, g1erSprNav
- set gNumSpr to g1erSprNav + 5
- gBoutons(appuie, gNumSpr)
- end
-
- on mouseUp
- global gNumSpr, g1erSprNav, gLocLabel, gLabel
- curseur(1)
- set monNumSpr to g1erSprNav + 5
- if monNumSpr = gNumSpr then
- MouseClick()
- else
- pass()
- end if
- end
-